/*
 * @Author: 欧小兵
 * @Date: 2021-12-15 14:44:30
 * @LastEditors: 欧小兵
 * @LastEditTime: 2022-01-18 18:18:37
 * @FilePath: \pc-collaboration\src\utils\const.js
 * @Description:
 */

export const APPLICATIONCATEGORYE = {
    CLO_PATH: '/seeyon/collaboration/collaboration.do',
    COLLABORATION: 1, // 协同应用
    WORKFLOW: 45, //工作流(cmp)
    CAP4_FROM: 66, //cap4表单
    THIRD_PARTY: 39, //三方业务扩展的Listener
};

export const WORKFLOW_DESIGN_SCENE = {
    VIEW_TEMPLATE: 2, // isTemplate == true & isView == true 模板且
    VIEW_NOT_TEMPLATE: 3, // isTemplate == false & isView == true
    EIDT_NOT_TEMPLATE: 1, // isTemplate == false & isView == false
};

export const GLOBAL_EVENT = {
    CALL_BACK_DONE: 'call_back_done', //通知其他模块处理完成时
};

// 移交\加签\减签\当前会签\知会\多级会签 及其封装操作,都不允许操作
export const WORKFLOW_OPERATION_TYPE = {
    ADD_NODE: 'insertNode', //加签
    NOTIFY: 'Notify', //知会
    JSONT_SIGN: 'assignNode', //当前会签
    MORE_SIGN: 'nodeOperation4Account', //多级会签
    TRANSFER: 'Transfer', //移交
    REMOVE_NODE: 'RemoveNode', //减签
    INFORM_NODE: 'informNode', //知会
};
